<div class="tableform">
<div class="division">
<table border="0" cellspacing="0" class="gridlist" cellpadding="0">
<thead>
<tr>
    <th>日期</th>
    <th>仓库</th>
	<th>货号</th>
	<th>发货数量</th>
    <th>退货数量</th>
	<th>货品名称</th>
    <th>成交金额</th>
	<th>退款金额</th>
</tr></thead>
<tbody>
<{foreach from=$delivery_data key=key item=item}>
<tr>
    <td><{$date}></td>
    <td><{$branch_name}></td>
	<td><{if $item.dly_bn}><{$item.dly_bn}><{else}><{$item.res_bn}><{/if}></td>
	<td><{ if $item.dly_nums}><{$item.dly_nums}><{else}>0<{/if}></td>
	<td><{ if $item.res_nums}><{$item.res_nums}><{else}>0<{/if}></td>
	<td><{if $item.dly_name}><{$item.dly_name}><{else}><{$item.res_name}><{/if}></td>
    <td><{$item.dly_amount|cur}></td>
	<td><{$item.res_amount|cur}></td>
</tr>
<{/foreach}>

</tbody>
</table>
<{if $total>20}>
<div style="width:100%;text-align:right;line-height:25px;">
<a href='index.php?app=omeanalysts&ctl=dlyDaily&act=more_show&p[0]=<{$date}>&p[1]=<{$branch_id}>' target="_blank">查看更多</a>
</div>
<{/if}>
</div>
</div>